from django.db import models

# Create your models here.
class Students(models.Model):
    id=models.AutoField(primary_key=True)
    name=models.CharField(max_length=50)
    classes=models.ForeignKey(to='Classs',on_delete=models.CASCADE)
class Classs(models.Model):
    class_id=models.CharField(max_length=50)